<div class="member-main">
<div id="tab-discus" class="section switch">
    <ul class="switchable-triggerBox clearfix">
        <li class="active"><span><{t}>我的评论<{/t}></span></li>
        <li><{t}>我的咨询<{/t}></li>
        <li><{t}>站内信<{/t}></li>
    </ul>
    <div class="switchable-content" style="border-top: 1px solid #AEC7E5; ">
		<div class="switchable-panel">
			<table width="100%" cellpadding="0" cellspacing="0" border="0" class="switchable">
        <tr>
          <td style="width:240px"><div style="height:25px; line-height:25px"><{t}>评论商品：<{/t}></div>
            <dl>
              <dt><{t}>图片位置<{/t}></dt>
              <dd><a href="#"><{t}>百搭堆堆领针织衫含羊毛精品服装高档爆款<{/t}></a></dd>
            </dl></td>
          <td valign="top"><ul>
              <li><{t}>标题：很好的商品<{/t}></li>
              <li><{t}>款式挺满意的，质量倒不是太差，但可能还要等多两个月才能穿得上，广州太热了···我168CM，重55kg，L码，里面还可以穿件长袖的呵呵···<{/t}></li>
              <li><span style="float:left"><a href="#"><{t}>回复<{/t}></a><span style="color:#F60; margin:0 3px">(2)</span></span><span style="float:right; color:#999">2010-09-10 12:00</span></li>
            </ul></td>
        </tr>
        <tr>
          <td style="width:240px" valign="top"><div style="height:25px; line-height:25px"><{t}>评论商品：<{/t}></div>
            <dl>
              <dt><{t}>图片位置<{/t}></dt>
              <dd><a href="#"><{t}>百搭堆堆领针织衫含羊毛精品服装高档爆款</a></dd>
            </dl></td>
          <td valign="top"><ul>
              <li><{t}>标题：很好的商品<{/t}></li>
              <li><{t}>款式挺满意的，质量倒不是太差，但可能还要等多两个月才能穿得上，广州太热了···我168CM，重55kg，L码，里面还可以穿件长袖的呵呵···<{/t}></li>
              <li><span style="float:left; padding:0 15px 0 0"  class="upstore"><a href="#"><{t}>收起回复</a></span><span style="float:right; color:#999" >2010-09-10 12:00</span></li>
              <ul style="margin-top:8px">
                <li class="doshed-line" style="color:#999"><span style="float:left">admin</span><span style="float:right">2010-08-17 15:56</span></li>
                <li><{t}>亲 如果没有过期 可以使用的哦<{/t}></li>
                <li class="doshed-line" style="color:#999"><span style="float:left">admin</span><span style="float:right">2010-08-17 15:56</span></li>
                <li><{t}>亲 如果没有过期 可以使用的哦<{/t}></li>
              </ul>
              </li>
            </ul></td>
        </tr>
      </table>

		</div>
        <div class="switchable-panel" style="display: none;">
         <table width="100%" cellpadding="0" cellspacing="0" border="0" class="switchable">
        <tr>
          <td style="width:240px"><div style="height:25px; line-height:25px"><{t}>咨询商品：<{/t}></div>
            <dl>
              <dt><{t}>图片位置<{/t}></dt>
              <dd><a href="#"><{t}>百搭堆堆领针织衫含羊毛精品服装高档爆款<{/t}></a></dd>
            </dl></td>
          <td valign="top"><ul>
              <li><{t}>标题：很好的商品<{/t}></li>
              <li><{t}>款式挺满意的，质量倒不是太差，但可能还要等多两个月才能穿得上，广州太热了···我168CM，重55kg，L码，里面还可以穿件长袖的呵呵···<{/t}></li>
              <li><span style="float:left"><a href="#"><{t}>回复<{/t}></a><span style="color:#F60; margin:0 3px">(2)</span></span><span style="float:right; color:#999"><{t}>2010-09-10 12:00</span></li>
            </ul></td>
        </tr>
        <tr>
          <td style="width:240px" valign="top"><div style="height:25px; line-height:25px"><{t}>咨询商品：</div>
            <dl>
              <dt><{t}>图片位置<{/t}></dt>
              <dd><a href="#"><{t}>百搭堆堆领针织衫含羊毛精品服装高档爆款<{/t}></a></dd>
            </dl></td>
          <td valign="top"><ul>
              <li><{t}>标题：很好的商品<{/t}></li>
              <li><{t}>款式挺满意的，质量倒不是太差，但可能还要等多两个月才能穿得上，广州太热了···我168CM，重55kg，L码，里面还可以穿件长袖的呵呵···<{/t}></li>
              <li><span style="float:left; padding:0 15px 0 0"  class="upstore"><a href="#"><{t}>收起回复</a></span><span style="float:right; color:#999" >2010-09-10 12:00</span></li>
              <ul style="margin-top:8px">
                <li class="doshed-line" style="color:#999"><span style="float:left">admin</span><span style="float:right">2010-08-17 15:56</span></li>
                <li><{t}>亲 如果没有过期 可以使用的哦<{/t}></li>
                <li class="doshed-line" style="color:#999"><span style="float:left">admin</span><span style="float:right">2010-08-17 15:56</span></li>
                <li><{t}>亲 如果没有过期 可以使用的哦<{/t}></li>
              </ul>
              </li>
            </ul></td>
        </tr>
      </table>

        </div>
        <div class="switchable-panel" style="display: none;">
            <!--<textarea class="textarea-lazyload">-->
              <div id="message-tab" class="switch">
                <div class="site-mail">
                <ul class="switchable-triggerBox2 clearfix">
                  <li class="active"><a href="#"><{t}>发送消息<{/t}></a></li>
                  <li><a href="javascript:void(0);"><{t}>收件箱<{/t}></a><span>(2)</span></li>
                  <li><a href="javascript:void(0);"><{t}>发件箱<{/t}></a><span>(3)</span></li>
                  <li><a href="javascript:void(0);"><{t}>草稿箱<{/t}></a><span>(2)</span></li>
                  <li style="border:none"><a href="javascript:void(0);"><{t}>给管理员发站内信<{/t}></a></li>
                </ul>
              </div>
              <h4><{t}>草稿箱<{/t}></h4>
              <div class="switchable-content clear">
                <div class="switchable-panel">
 <div class="member-main">
  <div>
<h4 class="title"><{t}>发送短消息<{/t}></h4>
<form name="comment" action="<{link app=b2c ctl='site_member'  full='1' act='send_msg'}> " method="post" class="section" <!--onSubmit="return Form_Validator(this)"-->

<{if $is_reply != true}>
<{input type="hidden" name="comment_id" value=$init.comment_id }>
 <{/if}>
   <div class="FormWrap" style="background:none; border:none; padding:0; margin:0;">
  <div class="division" style="border:none;">
  <table width="100%" border="0" cellspacing="0" cellpadding="0" class="forform">
  <tr>
    <th><em>*</em><{t}>发送给：<{/t}></th>
    <td><{input class="inputstyle _x_ipt" name="msg_to"  required="true" id="msg_to" size="30" value=$init.to_uname|escape:'html'  }></td>
    </tr>
    <tr>
     <th><em>*</em><{t}>标题：<{/t}></th>
    <td><{input class="inputstyle" name="subject" type="text"  required="true" id="subject" size="30" value=$init.subject|escape:'html'}></td>
  </tr>
</table>
</div>
<div style="border-top:1px solid #f1f1f1;"></div>

  <div class="division" style="border:none;">
  <table width="100%" border="0" cellspacing="0" cellpadding="0" class="forform">
  <tr>
    <th><{t}>内容：<{/t}></th>
    <td><{input class="inputstyle" type="textarea" name="comment" required="true" cols="50" rows="5" id="commenttitle" value=$init.comment|escape:'html'}></td>

  </tr>
  <tr>
    <th></th>
    <td>
	<{button id="Submit" class="submit-btn" type="submit" label=$___b2c="发送"|t:'b2c'}>&nbsp;&nbsp;
	<input name="has_sent" type="checkbox" value="false"><{t}>不发送，只保存到草稿箱中<{/t}>
    </td>
  </tr>
</table>

</div>
  </div>
</form>
  </div>
  </div>
<!-- right-->
<{if $is_reply == true}>
<script>
    $('msg_to').onfocus=function() {
        this.blur();
    }
    $('subject').onfocus=function() {
        this.blur();
    }
</script>
<{/if}>
                </div>
                   <div class="switchable-panel" style="display:none;">
                  <div class="member-main">
<div>

<script>
var prediv = '';
function showMsg(obj,msgid,url) {
  var currdiv = $('view_msg_pro_'+msgid);
  if(!obj.parentNode.id){
    if(typeof prediv == "object") {prediv.style.display='none'};
    currdiv.style.display = '';
	if($('view_msg_'+msgid))
    new Request({url:url,method:'post',update:'view_msg_'+msgid,data:''}).send();
    obj.parentNode.id = 'span_'+msgid;
    if(prediv){
      var link = $('span_'+prediv.id.substr(13)).getElementsByTagName('a')[0];
      link.className = 'viewmsgoff';
      toggleBg(link, false);
    }
    prediv = $('view_msg_pro_'+msgid);
    obj.className = 'viewmsg';
    toggleBg(obj, true);
  }else{
    if(currdiv.style.display == 'none'){
      currdiv.style.display = '';
      obj.className = 'viewmsg';
      toggleBg(obj, true);
      if(prediv) {
        prediv.style.display = 'none';
        var link = $('span_'+prediv.id.substr(13)).getElementsByTagName('a')[0];
        link.className = 'viewmsgoff';
        toggleBg(link, false);
      }
      prediv = currdiv;
    }else{
      currdiv.style.display = 'none';
      obj.className = 'viewmsgoff';
      toggleBg(obj, false);
      prediv = '';
    }
  }
}

function toggleBg(el, state){
  while(el.tagName != 'TR'){
    el = el.parentNode;
  }
  if(!state) $(el).removeClass('msgon');
  else $(el).addClass('msgon');
}

function checkAll(obj,box) {
  var tag = obj.getElementsByTagName('input');
  for(var i = 0;i < tag.length;i++){
    tag[i].checked = box.checked;
  }
}
</script>
<div class="title"><{t}>收件箱<{/t}></div>
<form action="file:///E|/ecos/会员中心咨询评论/&lt;{link app=b2c ctl='site_member' full='1' act='del_in_box_msg'}&gt;" method="post">
<table width="100%" cellspacing="0" cellpadding="0" class="liststyle-option">
    <col class="span-0 textcenter"></col>
    <col class=" textleft"></col>

    <tr>
      <th class="textcenter"><input type="checkbox" onclick="checkAll(this.form,this)" name="chkall" id="chkall" title="<{t}>全选<{/t}>"></th>
            <td>
			<{button type="submit" name="pmsend" label=$___b2c="删除"|t:'b2c'}>
			</td>
            <td class="textright"><{t}>共有短消息:<{/t}><em id="pmtotalnum"><{$total_msg}></em></td>
    </tr>

    </table>
  <table width="100%" cellspacing="0" cellpadding="0"  summary="<{t}>收件箱<{/t}>" class="gridlist">
    <col class="span-0 bg-graydark"></col>
    <col class="span-15 textleft"></col>
    <col class="span-2 bg-orange"></col>
    <col class="span-3"></col>
    <col class="span-2"></col>
    <col class="span-2"></col>
    <thead>
      <tr>
        <th>&nbsp;</th>
        <th><{t}>标题<{/t}></th>
        <th ><{t}>来自<{/t}></th>
        <th ><{t}>时间<{/t}></th>
        <th ><{t}>操作<{/t}></th>
        <th ><{t}>是否阅读<{/t}></th>
      </tr>
    </thead>
    <tbody>
      <{if count($message)>0}>
      <{foreach item=msg from=$message}>
      <tr class="msgon">
        <td class="selector"><input type="checkbox" value=<{$msg.comment_id}> name="delete[]"></td>
        <td class="textleft">
          <span><a href="file:///E|/ecos/会员中心咨询评论/&lt;{if $msg.unread}&gt;&lt;{else}&gt;#&lt;{/if}&gt;" onclick="showMsg(this,<{$msg.comment_id}>,'<{link app=b2c ctl='site_member' act='view_msg' arg0=$msg.comment_id }>');return false;" class="viewmsgoff"><{$msg.title|cut:60|nl2br}></a></span></td>
        <td><{$msg.author}></td>
        <td><{$msg.time|cdate:SDATE_STIME}></td>
        <td><a href="file:///E|/ecos/会员中心咨询评论/&lt;{if $msg.author_id==1}&gt;&lt;{link app=b2c ctl=site_member act=message arg0=$msg.comment_id arg1=reply}&gt;&lt;{else}&gt;&lt;{link app=b2c ctl=site_member act=send arg0=$msg.comment_id arg1=reply}&gt;&lt;{/if}&gt;"  ><{t}>回复<{/t}></a></td>
        <td >
        <{if $msg.mem_read_status == 'true'}>
        <{t}>已读<{/t}>
        <{else}>
        <{t}>未读<{/t}>
        <{/if}>
        </th>
      </tr>
      <tr id="view_msg_pro_<{$msg.comment_id}>" style="display:none; white-space:normal;">
        <td class="textleft memberviewinfo" colspan="6"><p id="view_msg_<{$msg.commemt_id}>"><{$msg.comment}></p></td>
      </tr>
      <{/foreach}>
      <{else}>
      <tr>
      <td height="60" colspan="6" class="bg-white">
       <{t}> 收件箱内没有短信息。<{/t}>
      </td>
      </tr>
      <{/if}>
    </tbody>

  </table>
    <table width="100%" cellspacing="0" cellpadding="0" class="liststyle-option">
    <col class="span-0 textcenter"></col>
    <col class=" textleft"></col>

    <tr>
      <th class="textcenter"><input type="checkbox" onclick="checkAll(this.form,this)" name="chkall" id="chkall" title="<{t}>全选<{/t}>"></th>
            <td>
			<{button type="submit" name="pmsend" label=$___b2c="删除"|t:'b2c'}>
			</td>
            <td class="textright"><{t}>共有短消息:<{/t}><em id="pmtotalnum"><{$total_msg}></em></td>
    </tr>

    </table>
  <{pagers data=$pager}>

</form>

</div>
</div>
                </div>
                   <div class="switchable-panel" style="display:none;">
                  <div class="member-main">
<div>

<script>
var prediv = '';
function showMsg(obj,msgid,url) {
  var currdiv = $('view_msg_pro_'+msgid);
  if(!obj.parentNode.id) {
    if(typeof prediv == "object") {prediv.style.display='none'};
    currdiv.style.display = '';
    new Request({url:url,method:'post',update:'view_msg_'+msgid,data:''}).send();
    obj.parentNode.id = 'span_'+msgid;
    if(prediv) {
      var link = $('span_'+prediv.id.substr(13)).getElementsByTagName('a')[0];
      link.className = 'viewmsgoff';
      toggleBg(link, false);
    }
    prediv = $('view_msg_pro_'+msgid);
    obj.className = 'viewmsg';
    toggleBg(obj, true);
  } else {
    if(currdiv.style.display == 'none') {
      currdiv.style.display = '';
      obj.className = 'viewmsg';
      toggleBg(obj, true);
      if(prediv) {
        prediv.style.display = 'none';
        var link = $('span_'+prediv.id.substr(13)).getElementsByTagName('a')[0];
        link.className = 'viewmsgoff';
        toggleBg(link, false);
      }
      prediv = currdiv;
    } else {
      currdiv.style.display = 'none';
      obj.className = 'viewmsgoff';
      toggleBg(obj, false);
      prediv = '';
    }
  }
}

function toggleBg(el, state){
  while(el.tagName != 'TR'){
    el = el.parentNode;
  }
  if(!state) $(el).removeClass('msgon');
  else $(el).addClass('msgon');
}

function checkAll(obj,box) {
  var tag = obj.getElementsByTagName('input');
  for(var i = 0;i < tag.length;i++){
    tag[i].checked = box.checked;
  }
}

</script>
  <div class="title"><{t}>已发送<{/t}></div>
  <form action="file:///E|/ecos/会员中心咨询评论/&lt;{link app=b2c ctl='site_member' full='1' act='del_track_msg'}&gt;" method="post">
<table width="100%" cellspacing="0" cellpadding="0" class="liststyle-option">
    <col class="span-0 textcenter"></col>
    <col class=" textleft"></col>

    <tr>
      <th class="textcenter"><input type="checkbox" onclick="checkAll(this.form,this)" name="chkall" id="chkall" title="<{t}>全选<{/t}>"></th>
            <td>
			<{button type="submit" name="pmsend" label=$___b2c="删除"|t:'b2c'}>
			</td>
            <td class="textright"><{t}>共有短消息:<{/t}><em id="pmtotalnum"><{$total_msg}></em></td>
    </tr>

    </table>
    <table width="100%" cellspacing="0" cellpadding="0" class="gridlist" summary="<{t}>已发送<{/t}>">
             <col class="span-0 bg-graydark"></col>
    <col class="span-15 textleft"></col>
    <col class="span-3 bg-orange"></col>
    <col class="span-4"></col>
      <thead>
        <tr>
          <th >&nbsp;</th>
          <th ><{t}>标题<{/t}></th>
          <th ><{t}>发送到<{/t}></th>
          <th ><{t}>时间<{/t}></th>
        </tr>
      </thead>
      <tbody>
      <{if count($message)>0}>
        <{foreach item=msg from=$message}>
        <tr class="msg">
          <td class="selector"><input type="checkbox" value=<{$msg.comment_id}> name="deltrack[]"></td>
          <td class="textleft"><span><a href="file:///E|/ecos/会员中心咨询评论/&lt;{link ctl='member' act='viewMsg' arg0=$msg.comment_id }&gt;" onclick="showMsg(this,<{$msg.comment_id}>,'<{link app='b2c' ctl='site_member' act='viewMsg' arg0=$msg.comment_id }>');return false;" class="viewmsgoff"><{$msg.title|nl2br}></a></span></td>
          <td><{if $msg.to_type == 1}><{t}>管理员<{/t}><{else}><{$msg.to_uname}><{/if}></td>
          <td><{$msg.time|cdate:SDATE_STIME}></td>
        </tr>
      <tr id="view_msg_pro_<{$msg.comment_id}>" style="display:none; white-space:normal;">
        <td class="textleft memberviewinfo " colspan="6"><p id="view_msg_<{$msg.comment_id}>"><{$msg.message|escape:'html'}></p></td>
      </tr>
        <{/foreach}>
      <{else}>
      <tr>
      <td height="60" colspan="4" class="bg-white">
        <{t}>您尚未发送过站内短信息。<{/t}>
      </td>
      </tr>
      <{/if}>
      </tbody>
  </table>
    <table width="100%" cellspacing="0" cellpadding="0" class="liststyle-option">
    <col class="span-0 textcenter"></col>
    <col class=" textleft"></col>

    <tr>
      <th class="textcenter"><input type="checkbox" onclick="checkAll(this.form,this)" name="chkall" id="chkall" title="<{t}>全选<{/t}>"></th>
            <td>
              <{button type="submit" name="pmsend" label=$___b2c="删除"|t:'b2c'}>
			</td>
            <td class="textright"><{t}>共有短消息:<{/t}><em id="pmtotalnum"><{$total_msg}></em></td>
    </tr>

    </table>
  <{pagers data=$pager}>

</form>

</div>
</div>
                </div>
                   <div class="switchable-panel" style="display:none;">
                 <div class="member-main">
<div>

<script>
function checkAll(obj,box) {
  var tag = obj.getElementsByTagName('input');
  for(var i = 0;i < tag.length;i++){
    tag[i].checked = box.checked;
  }
}
</script>
<div class="title"><{t}>草稿箱<{/t}></div>
<form action="file:///E|/ecos/会员中心咨询评论/&lt;{link app=b2c ctl='site_member' full='1' act='del_out_box_msg'}&gt;" method="post">
<table width="100%" cellspacing="0" cellpadding="0" class="liststyle-option">
    <col class="span-0 textcenter"></col>
    <col class=" textleft"></col>

    <tr>
      <th class="textcenter"><input type="checkbox" onclick="checkAll(this.form,this)" name="chkall" id="chkall" title="<{t}>全选<{/t}>"></th>
            <td>
              <{button type="submit" name="pmsend" label=$___b2c="删除"|t:'b2c'}>
			</td>
            <td class="textright"><{t}>共有短消息:<{/t}><em id="pmtotalnum"><{$total_msg}></em></td>
    </tr>

    </table>
  <table width="100%" cellspacing="0" cellpadding="0" summary="<{t}>草稿箱<{/t}>" class="gridlist">
     <col class="span-0 bg-graydark"></col>
    <col class="span-15 textleft"></col>
    <col class="span-3 bg-orange"></col>
    <col class="span-4"></col>
    <thead>
      <tr>
        <th class="selector">&nbsp;</th>
        <th><{t}>标题<{/t}></th>
        <th class="user"><{t}>发送到<{/t}></th>
        <th class="time"><{t}>时间<{/t}></th>
      </tr>
    </thead>
    <tbody>
      <{if count($message)>0}>
      <{foreach item=msg from=$message}>
      <tr>
        <td><input type="checkbox" value=<{$msg.comment_id}> name="deloutbox[]"></td>
        <td class="textleft"><span><a href="file:///E|/ecos/会员中心咨询评论/&lt;{if $msg.to_id == 1}&gt;&lt;{link app='b2c' ctl="site_member" act="message" arg0=$msg.comment_id}><{else}><{link app='b2c' ctl="site_member" act="send" arg0=$msg.comment_id}><{/if}>" class="lnk"><{$msg.title|cut:60|nl2br}></a></span></td>
        <td><{if $msg.to_type == 1}><{t}>管理员<{/t}><{else}><{$msg.to_uname|escape:'html'}><{/if}></td>
        <td><{$msg.time|cdate:FDATE_STIME}></td>
      </tr>
      <tr id="view_msg_pro_<{$msg.comment_id}>" style="display:none">
        <td></td>
        <td id="view_msg_<{$msg.comment_id}>"  class="msgcnt lft" colspan="3">&nbsp;</td>
      </tr>
      <{/foreach}>
      <{else}>
      <tr>
      <td height="60" colspan="4" class="bg-white">
       <{t}> 草稿箱中无内容<{/t}>
      </td>
      </tr>
      <{/if}>
    </tbody>
  </table>
    <table width="100%" cellspacing="0" cellpadding="0" class="liststyle-option">
    <col class="span-0 textcenter"></col>
    <col class=" textleft"></col>

    <tr>
      <th class="textcenter"><input type="checkbox" onclick="checkAll(this.form,this)" name="chkall" id="chkall" title="<{t}>全选<{/t}>"></th>
            <td>
			  <{button type="submit" name="pmsend" label=$___b2c="删除"|t:'b2c'}>
			</td>
            <td class="textright"><{t}>共有短消息:<{/t}><em id="pmtotalnum"><{$total_msg}></em></td>
    </tr>

    </table>
  <{pagers data=$pager}>

</form>

</div>
</div>
                </div>
                   <div class="switchable-panel" style="display:none;">
                  <div class="member-main">
<div>
<div class="title"><{t}>给管理员留言<{/t}></div>
<form name="comment" action="<{link app=b2c ctl='site_member'  full='1' act='msgtoadmin'}>" method="post" class="section">
<{if !$reply}>
  <input type="hidden" name="comment_id" value="<{$init.comment_id}>">
  <{/if}>
  <div class="FormWrap" style="background:none; border:none; padding:0; margin:0;">
  <div class="division" style="border:none;">
  <table width="100%" border="0" cellspacing="0" cellpadding="0" class="forform">
  <tr>
    <th><{t}>发送给：<{/t}></th>
    <td><{input class="inputstyle" type="text" value=$___b2c="管理员"|t:'b2c' readonly="readonly" size="30" disabled="disabled"}></td>
  </tr>
  <tr>
    <th><em>*</em><{t}>标题：<{/t}></th>
    <td><{input name="subject" class="inputstyle" type="text"  required="true" id="comment_email" size=30 value=$init.title|escape:'html'}></td>
  </tr>
</table>
  </div>

  <div style="border-top:1px solid #f1f1f1;"></div>

  <div class="division" style="border:none;">
  <table width="100%" border="0" cellspacing="0" cellpadding="0" class="forform">
  <tr>
    <th><em>*</em><{t}>内容：<{/t}></th>
    <td><{input class="inputstyle font12px" type="textarea" name="comment" required="true" cols="50" rows="5" id="commenttitle" value=$init.comment}></td>
  </tr>
  <tr>
    <th></th>
    <td><input type="submit" id="Submit" value="<{t}>发送<{/t}>">&nbsp;&nbsp;&nbsp;&nbsp;<input name="has_sent" type="checkbox" value="false"><{t}>暂不发送，保存到草稿箱<{/t}></td>
  </tr>
</table>
  </div>
  </div>
</form>

</div>
</div>
                </div>
              </div>
             </div>
           <!--</textarea>-->
        </div>
    </div>
</div>
</div>
<script>


var tabs = new Switchable('tab-discus', {autoplay:false,eventType:'click',
 onSwitch:function(){


 }
});

new Switchable('message-tab', {autoplay:false,eventType:'click',triggersBox:'.switchable-triggerBox2'});

</script>
